package com.yidu.t299.service.chr.impl;

import com.yidu.t299.dao.chr.ClassMapper;
import com.yidu.t299.domain.chr.Class;
import com.yidu.t299.service.chr.ClassBiz;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class ClassBizImpl implements ClassBiz {
    @Autowired
    private ClassMapper classMapper;

    @Override
    public List<Class> selectAll() {
        return classMapper.selectAll();
    }
}
